<!--
buguid: "",
comments: "",
email: "",
homePhone: "",
isAdmin: 0,
isDisabled: false,
jobNum: "",
mobilePhone: "",
officePhone: "",
password: null,
userCode: "",
userName: ""
-->
<form name="user_basic_form"  class="ui-dialog-content"  style="width: 620px;position: relative;">

    <table width="100%" class="mt10">
        <tbody>
        <tr>
            <td align="right" class="form-cell w200 pt16" valign="top"><em class="c-red">*</em> 用户姓名</td>
            <td class="pt12" valign="top"><input type="text" name="userName" class="input-text mr5 w215" data-ng-model="data.userName" required maxlength="20">
                <p role="alert"
                   ng-show="(user_basic_form.userName.$touched || user_basic_form.$submitted) && user_basic_form.userName.$error.required"
                   class="error ng-hide c-red lh30 fl">
                    请填写用户姓名</p></td>
            <td align="right" class="form-cell w200 pt16" valign="top"><em class="c-red">*</em> 登录名</td>
            <td class="pt12" valign="top"><input type="text" name="userCode" class="input-text mr5 w215" data-ng-model="data.userCode" required maxlength="16"
                                                 ng-pattern="/^[\u4e00-\u9fa5|a-z|A-Z|0-9|_]+$/">
                <p role="alert"
                   ng-show="(user_basic_form.userCode.$touched || user_basic_form.$submitted) && user_basic_form.userCode.$error.required"
                   class="error ng-hide c-red lh30 fl">
                    请填写登录名</p>
                <p role="alert"
                   ng-show="(user_basic_form.userCode.$touched || user_basic_form.$submitted) && user_basic_form.userCode.$error.pattern"
                   class="error ng-hide c-red lh30">
                    只能输入汉字、字母、数字、下划线</p></td>
        </tr>
        <tr>
            <td align="right" class="form-cell w200 pt16" valign="top">所属组织</td>
            <td class="pt12" valign="top"><input type="text" name="" class="input-text mr5 w215" disabled data-ng-model="data.buname"></td>
            <td align="right" class="form-cell w200 pt16" valign="top"><em class="c-red">* </em>密码</td>
            <td class="pt12" valign="top"><input type="password" name="password" class="input-text mr5 w215" disabled value="******"></td>
        </tr>
        <tr>
            <td align="right" class="form-cell w200 pt16" valign="top">超级用户</td>
            <td class="pt12" valign="top"><div class="switch fl switch-on" data-ng-switch data-ng-model="data.isAdmin">
                <span class="switch-text">开</span>
                <span class="switch-white"></span>
            </div></td>
            <td align="right" class="form-cell w200 pt16" valign="top"></td>
            <td class="pt12" valign="top"></td>
        </tr>
        <tr>
            <td align="right" class="form-cell w200 pt16" valign="top">电子邮件</td>
            <td class="pt12" valign="top"><input type="text" name="email" class="input-text mr5 w215" data-ng-model="data.email" maxlength="50" ng-pattern="/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/">
                <p role="alert"
                   ng-show="(user_basic_form.email.$touched || user_basic_form.$submitted) && user_basic_form.email.$error.pattern"
                   class="error ng-hide c-red lh30 fl">
                    格式不正确</p></td>
            <td align="right" class="form-cell w200 pt16" valign="top">办公电话</td>
            <td class="pt12" valign="top"><input type="text" name="" class="input-text mr5 w215" data-ng-model="data.officePhone" maxlength="50"></td>
        </tr>
        <tr>
            <td align="right" class="form-cell w200 pt16" valign="top">手机</td>
            <td class="pt12" valign="top"><input type="text" name="" class="input-text mr5 w215" data-ng-model="data.mobilePhone" maxlength="50"></td>
            <td align="right" class="form-cell w200 pt16" valign="top">家庭电话</td>
            <td class="pt12" valign="top"><input type="text" name="" class="input-text mr5 w215" data-ng-model="data.homePhone" maxlength="50"></td>
        </tr>
        </tbody>
    </table>
    <table width="100%" class="mt10">
        <tbody>
        <tr>
            <td align="right" class="form-cell w200 pt16" valign="top">说明</td>
            <td class="pt12" colspan="3"><textarea name="" class="textarea" data-ng-model="data.comments" style="width: 526px;" maxlength="500"> </textarea></td>
        </tr>
        </tbody>
    </table>
</form>